<?php
require_once '../SortClass.php';
$testArray = array(1, 6, 9, 7, 5, 8, 2, 4, 3, 10);
$test      = new SortClass();
echo "测试数据：1, 6, 9, 7, 5, 8, 2, 4, 3, 10" . "<br>" . "测试结果：" . "<br>";
echo "插入排序：";
$test->output($test->insertionSort($testArray));
echo "快速排序：";
$test->output($test->quickSort($testArray));
echo "选择排序：";
$test->output($test->selectionSort($testArray));
echo "冒泡排序：";
$test->output($test->bubleSort($testArray));
